﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DcsGauges.Gui.Gauges.Concrete;
using DcsGauges.DataStructures;
using Microsoft.Xna.Framework.Graphics;

namespace DcsGauges.Gui.Views.Concrete
{
    class EnginesView : View
    {
        private EnginesPanel enginesPanel = null;
        public EnginesPanel Engines
        {
            get { return this.enginesPanel; }
        }

        public EnginesView()
        {
            this.enginesPanel               = new EnginesPanel(null, URect.Full);            
        }

        public override void Render(SpriteBatch spriteBatch, GraphicsDevice device, Microsoft.Xna.Framework.Rectangle parentRect, float globalZIndex)
        {
            this.enginesPanel.Render(spriteBatch, device, parentRect, globalZIndex);
        }
    }
}
